
{% load static from staticfiles %}

<!doctype html>
<html>
<head>

{% block  top %}
<meta charset="utf8">
    <meta name="keywords" content="" />
<meta name="description" content="主题的个人博客模板，优雅、稳重、大气,低调。" />
{% endblock %}
<title>个人博客</title>

<link href="{% static 'css/base.css' %}" rel="stylesheet">
{#<link href="{% static 'css/index.css' %}" rel="stylesheet">#}


    {% block jc %}

    {% endblock %}

</head>

{% block body %}
<body bgcolor="#EEE">
{% endblock %}

{% block header %}
<header>
  <div id="logo"><a href="/"></a></div>
  <nav class="topnav" id="topnav"><a href="{% url 'App:index' %}"><span>首页</span><span class="en">Protal</span></a><a href="{% url 'App:aboutme' %}"><span>关于我</span><span class="en">About</span></a>
      <a href="{% url 'App:register' %}"><span>注册</span><span class="en">Learn</span></a>
{#      在这里判断是否带session#}
      {% if usession %}
          <a href="{% url 'App:login' %}"><span>欢迎:{{usession}}</span><span class="en">Learn</span></a>
          <a href="{% url 'App:logingout' %}"><span>退出</span><span class="en">Learn</span></a>
          {% else %}
            <a href="{% url 'App:login' %}"><span>登录</span><span class="en">Learn</span></a></nav>
      {% endif %}

</header>
{% endblock %}

{% block content %}


{% endblock %}


{% block footer %}
{% endblock %}

</html>
